package com.ruoyi.lvlian.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;


@Data
@ToString
@ApiModel(value = "车辆信息", description = "车辆信息")
public class VehicleInfoDto {

    @ApiModelProperty(value = "车牌号码")
    private String plateNo;

    @ApiModelProperty(value = "公司组织代码")
    private String orgCode;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @NotNull(message = "orgCodes不能为空") // 这是实际的验证注解
    private List<String> orgCodes;
    private String netStatus;
    @ExcelProperty("车辆类型")
    @ApiModelProperty(value = "车辆类型")
    private String vehicleType;

    @ApiModelProperty(value = "是否有图")
    private Boolean haveImg;

    @ApiModelProperty(value = "数据来源填 实时物流小程序  四流平台")
    private String dataSource;
}
